package com.wang.designpattern.adapter.classadapter;

public class VoltageAdapter extends Voltage220 implements IVoltage5 {
    @Override
    public int outPut5() {
        int src = output220();
        int dest = src / 44;
        System.out.println("电压经过转换=" + dest + "伏");
        return dest;
    }
}
